﻿@model WebWindow3.GLKService4.PaymentResultData
@{
    ViewBag.Title = Model.OperationResult ? "Success" : "Decline";
    Layout = "~/Views/MainTemplate.cshtml";
}

<h2>@(Model.OperationResult ? "Success" : "Decline")</h2>
<p>@Model.OperationResultDescription</p>
@if (Model.OperationResult)
{
    <p>Вы приобрели следующие товары</p>
<ul>
    @foreach (var item in Model.Products)
    {
        <li>@item.Name (@(item.Price)руб.)</li>
    }
</ul>
}
